<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>快乐大抽奖</title>
  </head>

  <style>
    html {
      height: 0;
      width: 0;
      padding: 0;
      margin: 0;
    }

    body {
      height: 1080px;
      width: 1920px;
      margin: 0;
      padding: 0;
      overflow: hidden;
      transform-origin: 0px 0px;
      transition: all .3s;
      background: #001640;
    }
  </style>
  <body>
    <noscript>
      <strong>We're sorry but study doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>

  <script>
      function scaleWindow() {
          var wHeight = window.innerHeight;
          var wWidth = window.innerWidth;
          var bHeight = document.body.offsetHeight;
          var bWidth = document.body.offsetWidth;
          document.body.style.transform = 'scale(' + wWidth / bWidth + ',' + wHeight / bHeight + ')';
      }

      scaleWindow();
      window.onresize = function () {
          scaleWindow();
      }

  </script>
</html>
